package es.us.idinfor.rmplugin.algorithm;

import java.util.List;

import com.rapidminer.example.Attribute;

public class ExtendedRange extends Range {
	private double coefficient;
	
	/**
	 * Parametrized constructor.
	 * 
	 * @param attribute The attribute.
	 * @param ranges The ranges of the attribute.
	 * @param cuts The cuts of the list of values.
	 * @param coefficient The value of the coefficient.
	 */
	public ExtendedRange(Attribute attribute, double[] ranges, List<Integer> cuts, double coefficient) {
		super(attribute, ranges, cuts);
		
		this.coefficient = coefficient;
	}

	/**
	 * Returns the value of the coefficient.
	 * 
	 * @return The value.
	 */
	public double getCoefficient() {
		return coefficient;
	}
}
